﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmGeneraCodigo.aspx.cs" Inherits="UI.Secretaria.frmGeneraCodigo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            text-align: left;
            width: 83px;
        }
        .style4
        {
            width: 209px;
        }
        .style5
        {
        }
        .style6
        {
            width: 207px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="BTabla" style="width: 66%">
        <tr>
            <td class="filaTabla" colspan="5">
                Generación de Códigos de Alumnos Ingresantes</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                <asp:Label ID="Label1" runat="server" Text="Semestre"></asp:Label>
            </td>
            <td class="style6">
                <asp:DropDownList ID="ddlSemestre" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlSemestre_SelectedIndexChanged" Width="196px">
                </asp:DropDownList>
            </td>
            <td class="style4">
                <asp:Button ID="btnGenerar" runat="server" Height="33px" 
                    onclick="btnGenerar_Click" Text="Generar " Width="88px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5" colspan="3">
                <asp:Label ID="lblMensaje" runat="server" style="color: #FF0000"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        </table>

    <table>
    <tr>
        <td>
                <asp:GridView ID="grvGrilla" runat="server" AutoGenerateColumns="False" 
                    Width="562px" Caption="Registros Encontrados">
                    <Columns>
                        <asp:BoundField DataField="COD_ALUMNO" HeaderText="Código" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Descripcion" HeaderText="Nombres" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DNI" HeaderText="DNI" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="FECHA_NACIMIENTO" HeaderText="Fecha Nacimiento" >
                        <ItemStyle HorizontalAlign="Right" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </td>
    </tr>
    </table>
</asp:Content>
